FlexGrid for WinForms
AddItem(Object[],Int32,Int32) Method



Array of objects that will be assigned to the new row.
Position where the new row will be inserted.
First column to populate with the items in the items array. This parameter is usually set to the index of the first scrollable column.
Adds a row to the grid at a specified position and populates the new row with data.
Syntax
'Declaration
 
Public Overloads Function AddItem( _
   ByVal items() As Object, _
   ByVal rowIndex As Integer, _
   ByVal colIndex As Integer _
) As Row
'Usage
 
Dim instance As C1FlexGridBase
Dim items() As Object
Dim rowIndex As Integer
Dim colIndex As Integer
Dim value As Row
 
value = instance.AddItem(items, rowIndex, colIndex)
public Row AddItem( 
   object[] items,
   int rowIndex,
   int colIndex
)

Parameters

items
Array of objects that will be assigned to the new row.
rowIndex
Position where the new row will be inserted.
colIndex
First column to populate with the items in the items array. This parameter is usually set to the index of the first scrollable column.

Return Value

A reference to the new row.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback